FROM centos:7

LABEL maintainer="840112979@qq.com" 
LABEL version="1.0"
LABEL description="JAVA ENV"

WORKDIR /usr/local/jdk

ADD jdk-8u271-linux-x64.tar.gz /usr/local/jdk

ENV JAVA_HOME /usr/local/jdk/jdk1.8.0_271/
ENV PATH $PATH:$JAVA_HOME/bin
 

